/* eslint-disable */
import "./theme/index.scss";
import Container from "../packages/container";
import List from "../packages/list";
import Button from "../packages/button";
import Dropdown from "../packages/dropdown";
import Tabs from "../packages/tabs";
import Skeleton from "../packages/skeleton";
import Image from "../packages/image";
import Divider from "../packages/divider";
import Tag from "../packages/tag";
import Form from "../packages/form";
import Field from "../packages/field";
import Popup from "../packages/popup";
import ActionSheet from "../packages/action-sheet";
import Radio from "../packages/radio";
import Notify from "../packages/notify";
import Cell from "../packages/cell";
import Search from "../packages/search";
import PullRefresh from "../packages/pull-refresh";
import Icon from "../packages/icon";
import Overlay from "../packages/overlay";
import Dialog from "../packages/dialog";
import Empty from "../packages/empty";
import Loading from "../packages/loading";
import Toast from "../packages/toast";
import Picker from "../packages/picker";
import DatetimePicker from "../packages/datetime-picker";
import Steps from "../packages/steps";
import Checkbox from "../packages/checkbox";
import Badge from "../packages/badge";
import Row from "../packages/row";

const components = [
  Container,
  List,
  Button,
  Dropdown,
  Tabs,
  Skeleton,
  Image,
  Divider,
  Tag,
  Form,
  Field,
  Popup,
  ActionSheet,
  Radio,
  Notify,
  Cell,
  Search,
  PullRefresh,
  Icon,
  Overlay,
  Dialog,
  Empty,
  Loading,
  Toast,
  Picker,
  DatetimePicker,
  Steps,
  Checkbox,
  Badge,
  Row,
];

const plugins = {
  install(Vue, pluginOptions) {
    components.forEach(component => {
      component.install(Vue, pluginOptions);
    });
  },
  Container
};

export default plugins;
